﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Left.aspx.cs" Inherits="CRS.Web.MainWebForm.Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ Register Src="../UserControls/MenuCtl.ascx" TagName="MenuCtl" TagPrefix="uc1" %>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:tvns>
<head id="Head1" runat="server">
    <title>VITCODE</title>
    <link type="text/css" rel="stylesheet" href="../ScriptFiles/CSS/style.css" />

    <script src="../ScriptFiles/JS/jquery.js" type="text/javascript"></script>

    <script type="text/javascript">
    $(document).ready(function (){
       
    });

    function lightHide(obj){
        var pSize=$('p').size();
        var aSize=$('a').size();
        for (var y = 0; y < pSize; y++)
        {
            var i=0;
            while(i<aSize){
               $("#"+y+"\\."+i).removeClass("lightHide");
               i++;
            }
        }
        $(obj).addClass("lightHide");
    }
    function changeView(obj) {

            var p = document.getElementsByTagName("p");
            for (var i = 0; i < p.length; i++) {
                if ("submenuh2_" + i != obj) {
                    document.getElementById("div_submenuh2_" + i).style.display = "none";
                    document.all("ico_submenuh2_" + i).src = "../Images/ico_nohave.gif";
                }
            }
            if(document.all("div_"+obj).style.display == "none" )
            {
               document.all("div_"+obj).style.display = "block";
               document.all("ico_" + obj).src = "../Images/ico_have.gif"; 
            }
            else
            {
               document.all("div_"+obj).style.display = "none";
               document.all("ico_" + obj).src = "../Images/ico_nohave.gif";
           }
          
            defaultView = obj;
        }
    </script>

    <style type="text/css">
        p
        {
            color: #448CCB;
        }
        .lightHide
        {
        	background-color:#BEE4F7;
            border-top:1px solid #0000FF;
            border-right:1px solid #0000FF;
            border-bottom:1px solid #0000FF;
            border-left:1px solid #0000FF; 
        }
    </style>
</head>
<body id="master" style="font-size: 12px">
    <uc1:MenuCtl ID="MenuCtl1" runat="server" />
</body>
</html>
